package com.ttx.pattern.example.chain.tomcat.pipeline;

/**
 *
 * 参考org.apache.catalina.Pipeline
 *
 * @author TimFruit
 * @date 19-5-12 下午10:55
 */
public interface Pipeline {

    public void addValve(Valve valve);

    public void removeValve(Valve valve);

    /**
     * 返回第一个"阀门"节点
     * @return
     */
    public Valve getFirst();

}
